import mock from "mockjs";

mock.mock('/api/list',{
    'list|30':[{
        user:"@cname",
        title:'@ctitle(3,5)',
        id:'@id',
        img:"@image(100x100,@color)",
        state1:['水果','蔬菜','雪糕','服装'],
        "children|10":[{
            user:"@cname",
            id:'@id',
            'price|1-1000':0,
            num:1,
            img:"@image(100x100,@color)",
            title:'@ctitle(3,5)',
            "state1|1":['水果','蔬菜','雪糕','服装'],
        }]
    }]
})


